Restrict setuptools version range in pyproject.toml#570
Restrict setuptools version range in pyproject.toml#570SoniaComp wants to merge 1 commit intooracle:mainfrom
Conversation
|
Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA).
To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application. When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated. If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public. |
|
@SoniaComp I don't see any use of |
|
Thanks, @cjbj . This was opened in the cx_Oracle repo as well but here it indeed has no purpose. |
cx_Oracle version: 8.3.0
setuptools version: 82.0.0 (latest at the time of installation)
(Additional Python/platform information can be provided if needed.)
When installing cx_Oracle 8.3.0, the installation fails due to a compatibility issue with newer versions of setuptools.
Starting from setuptools v82.0.0, pkg_resources is no longer supported (see:
https://github.com/pypa/setuptools/blob/v82.0.0/NEWS.rst#deprecations-and-removals
).
Because of this removal, the installation process raises the following error:
ModuleNotFoundError: No module named 'pkg_resources'
To resolve this issue, we plan to set an upper bound for the setuptools version (i.e., < 82.0.0) to prevent installation failures.
(Not applicable in this case — the issue occurs during package installation before Oracle Client configuration.)
(Not applicable — installation fails before runtime.)
(Not applicable — installation fails before runtime.)